import { IPage } from "../../IPage";

/**
 * 
 */
console.log("1");
//模拟一个耗时2秒的任务
let taskA = new Promise<void>((resolve)=>{
    console.log("start");
    setTimeout(()=>{
        console.log("end");
        resolve();
    },200);
});

taskA.then(()=>{console.log('hhh')})

module.exports = <IPage>{
    showPage: () => {
        console.log("this is page");
    }
}